﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WoAssetInfoSelectCtl.ascx.cs" Inherits="AMS.Web.WorkBill.WoAssetInfoSelect" %>
<%@ Register Assembly="VitCode.Web.UI.PaginationGrid" Namespace="VitCode.Web.UI"
    TagPrefix="PaginationGrid" %>
<%@ Register Assembly="VitCode.Web.UI.ConditionSelector" Namespace="VitCode.Web.UI"
TagPrefix="cc1" %>
 <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
 <link href="../ScriptFiles/CSS/style.css" type="text/css" rel="Stylesheet" />
<asp:HiddenField ID="hdnClassName" runat="server" />
<asp:HiddenField ID="hdnTypeName" runat="server" />
<asp:HiddenField ID="hdnKeyVal" runat="server" />

<table width="100%"  style="border: 1px solid #A8CFEB; margin-top: 4px;" class="tableElse">
    <tr >
        <td>
            <asp:Label ID="lblSelColName" runat="server">查询条件：</asp:Label><asp:DropDownList ID="ddlCondition"
                        runat="server">
                    </asp:DropDownList>
                    <asp:TextBox ID="txtValue" runat="server" Width="136px"></asp:TextBox><asp:RadioButton
                        ID="rbtAmount" runat="server" Text="匹配" GroupName="1"></asp:RadioButton><asp:RadioButton
                            ID="rbtLike" runat="server" Text="模糊" GroupName="1" Checked="True"></asp:RadioButton>&nbsp;&nbsp;
                    <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'" Text="查    询" />&nbsp;
                    <cc1:ConditionSelector ID="ConditionSelector1" runat="server" 
                OnSelectCondition="ConditionSelector1_SelectCondition"  ButtonClassName="btn_mouseout" 
                        onmousedownjs="this.className= 'btn_mousedown'" 
                        onmouseoutjs="this.className= 'btn_mouseout'" 
                        onmouseoverjs="this.className= 'btn_mouseover'" 
                FieldSourceGrid="pgList" />&nbsp;
        </td>
  
    <td align="right">
            <asp:Button ID="btnSelect" runat="server" Text="选择勾选" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'" 
                onclick="btnSelect_Click"  />
        &nbsp;
            <asp:Button ID="btnSelectList" runat="server" onclick="btnSelectList_Click" 
                Text="选择所有" class="btn_mouseout"
                        onmouseover="this.className= 'btn_mouseover' " onmouseout="this.className= 'btn_mouseout' "
                        onmousedown="this.className= 'btn_mousedown'"  />
        </td>
    </tr>
   
</table>
     <PaginationGrid:PaginationGrid ID="pgList" runat="server" 
                onongriditemselect="pgList_OnGridItemSelect" DataPaginationMode="Customize">
            </PaginationGrid:PaginationGrid>

 
